/**
 * CopyRight  2012 USTC SINOVATE SOFTWARE CO.LTD All Rights Reserved.
 */

package com.cmcc.zysoft.infocollection.controller;

import java.io.IOException;

import org.apache.http.HttpException;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import com.cmcc.zysoft.infocollection.common.BaseController;
import com.cmcc.zysoft.infocollection.util.test;

/**
 * @author 喻金龙
 * <br />邮箱: yu.jinlong@ustcinfo.com
 * <br />描述: CheckController.java
 * <br />版本: 1.0.0
 * <br />日期: 2013-9-30 下午2:34:00
 * <br />CopyRight  2012 USTC SINOVATE SOFTWARE CO.LTD All Rights Reserved.
 */
@Controller
@RequestMapping("/pc/test")
public class TextController extends BaseController {
	
	@RequestMapping("/main.htm")
	public String edit(ModelMap modelMap) throws IOException, HttpException {
		String rs = test.getRs();
		String[] s = rs.split(",");
		modelMap.addAttribute("s", s);
		return "/pc/test/test";
	}
}
